package com.example.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.blog.pojo.Result;
import com.example.blog.pojo.SendHomeWork;
import org.apache.poi.ss.formula.functions.T;

import java.util.Date;
import java.util.List;

public interface CorrectService extends IService<SendHomeWork> {

    Result<T> correctHomework(SendHomeWork sendHomeWork, int SendHomeworkId, int score, String valuation, String token);

    Result<List<SendHomeWork>> getUserScore(int SendHomeworkId, String token);

    List<SendHomeWork> getScoreRank(String subject, Date createTime, String token);

}
